|
Author |
Thread Statistics | Show CCP posts - 27 post(s) |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.09.17 11:35:00 -
[1]
What other limitations or capabilities does the new IGB support?
Cookies? Session Management? Javascript DOM differences? SVG or VML?
etc...
Would there be anyway to get anything comparable to FireBug available? ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.09.18 21:09:00 -
[2]
Edited by: Sky Grunthor on 18/09/2009 21:11:24
Originally by: CCP Ronin
Originally by: Etheri Grim Are there any more javascript client functions than Client.OpenEveMail? I'd love to see things like Client.GetCurrentSystem, Client.GetFleetID..
There will be others coming up in the next iteration, we're looking at "Show Info", "Show Route", "Show Map" and "View Fitting", along with maybe a couple others depending on timing. We are also very open to suggestions for methods IGB-site authors would like to have access to, so if you're dying to interact with the game in a certain manner, please let us know!
However, these client hooks are meant for the browser to interact with the game in a one-way manner, usually to pop up some prepopulated UI element. Methods to get information out of the game and return them to the browser are not the intention of these methods, nor are they supported. For this type of information, the special HTTP headers should be used instead.
GiveMoney(name, amount, reason) would be a big help to some 3rd party sites like Greifwatch and others. It would help with protecting against fraud. would pop up a give money dialog with those fields prepopulated.
ShowContract(id)
my 2 ideas. ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.09.20 23:57:00 -
[3]
Edited by: Sky Grunthor on 21/09/2009 00:01:52 Have started a wiki page to track desired javascript functions.
http://wiki.eveonline.com/wiki/IGB_Javascript_Wish_List
* javascript is stripped out of links.
Also, what right click functionality will be available?
the current link formats to show a character image or item image or have a right clickable link is a very nice feature that should probably be maintained. ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.09.23 04:33:00 -
[4]
The javascript method list in the wiki has been updated it looks like.
http://wiki.eveonline.com/w/index.php?title=IGB_Javascript_Methods&stable=0 ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.09.28 01:43:00 -
[5]
Originally by: Akana Kira Edited by: Akana Kira on 27/09/2009 09:27:35 Current tranquility client normally works on win2k. May be it works even on win98 because it have dx9c. CCP can make option for turn off browser, please support me in this thread: http://www.eveonline.com/ingameboard.asp?a=topic&threadID=1186644
The browser is going to be used for far more than just the actual IGB, remember its also integrated with what billboards and the like are going to be able to display.
Turning off the browser won't be possible. I would suggest upgrading your OS ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.02 13:59:00 -
[6]
Originally by: Lebastor I would wish a couple of items into consideration: - in addition to the CORP and ALLIANCE, please don't forget MILITIA in the headers, please - a javascript call to get the distance of a system from your current location (like on Assests window now)
Otherwise looking forward for new developments!
http://wiki.eveonline.com/wiki/IGB_Headers?stable=0 http://wiki.eveonline.com/wiki/IGB_Javascript_Wish_List&stable=0
added your request to the appropriate pages. They may not show up immediately as they require approval. I have however linked the unstable versions here. ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.06 02:54:00 -
[7]
The ShowFitting() method is obviously using the Ship DNA format for the fitting id. What are the gotcha's? I've put some questions in the Talk section of that page in the wiki.
http://wiki.eveonline.com/wiki/Talk:IGB_Javascript_Methods ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.07 14:01:00 -
[8]
Edited by: Sky Grunthor on 07/10/2009 14:03:17
Originally by: Haskell This is how the right-click menu of a showinfo: link with a character ID currently looks like (Apocrypha IGB):
Link
Does this still work with Moondoggie? If not, will there be JavaScript methods that replace the menu items?
I think this is quite useful to have in web applications, especially "Send Message", "Give Money" and "Set Standings".
I don't believe it does.
Something that they have to contend with is that this is a 3rd party browser. This means there are some limitations in the way they will be able to interact with it while still maintaining the ability to update it as chrome gets updated. The only true hooks they have into it (or at least the only ones they are using) are DOM hooks.
This means that all interaction happens via the "Client" object or within header information.
I would think we could suggest a "Client.ShowContextMenu(anyID, x, y)" that would pop up the context menu associated with the given anyID at the x and y position within the area of the IGB window. This kind of thing would be inline with their approach to the new igb.
As soon as the current wiki wishlist page is approved we should probably add that call to the list. ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.08 00:01:00 -
[9]
Originally by: Raul Lustrom Am really looking forward to Moondoggie going live.
I've just got a couple of questions though...
Firstly, I've already got an in-game site for my corporation that gets very little use simply because of the horrendous loading speed of the current IGB. Will that site continue to work in the new IGB, specifically regarding the special EVE headers. Will they remain the same? Or Will I need to tweak the site?
Secondly, Have we got a rough idea (ballpark figure, no accuracy needed) when the patch to include the new IGB will go live on Tranq?
Cheers, Raul
It is scheduled to go live with Dominion on Dec 1st ( I think Dec 1st ) ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.08 00:20:00 -
[10]
Originally by: Baron Rob Edited by: Baron Rob on 07/10/2009 21:34:27 Hi Synex,
I had trouble using
<button type="button" onClick="Client.ShowInfo(3)">3</button>
I found the follwoing works for me
<INPUT TYPE='button' NAME='myButton' VALUE='3' onClick='Client.ShowInfo(3)'>
Not sure why the other method (the one you used) does not work as it is per example on the wiki.
button is not a proper tag. Input is the proper tag. ------------------------------------------------- Search: Sky Grunthor |
|
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.08 17:10:00 -
[11]
Originally by: Sasha J On page http://wiki.eveonline.com/wiki/IGB_Javascript_Wish_List:
javascript:Client.GetShipFitting() pops up a confirmation window and (if approved) returns the complete ship fitting (possibly Ship DNA string formatted)
Please, use JSON, not XML (or at least add JSON version of this call). Makes more sense in javascript.
Sidenote: IGB fanfest 2009 presentation on youtube: http://www.youtube.com/watch?v=6KQJQhqHgz4
They are already using a Ship DNA string with other calls. It would probably be more appropriate to use that there as well. ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.08 17:23:00 -
[12]
Originally by: Leebe button is a proper tag
w3schools
dang your right.
I always used anchors to pull that off... ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.08 19:35:00 -
[13]
Edited by: Sky Grunthor on 08/10/2009 19:38:28 Edited by: Sky Grunthor on 08/10/2009 19:35:29
Originally by: Sasha J
Originally by: Sky Grunthor
Originally by: Sasha J On page http://wiki.eveonline.com/wiki/IGB_Javascript_Wish_List:
javascript:Client.GetShipFitting() pops up a confirmation window and (if approved) returns the complete ship fitting (possibly Ship DNA string formatted)
Please, use JSON, not XML (or at least add JSON version of this call). Makes more sense in javascript.
Sidenote: IGB fanfest 2009 presentation on youtube: http://www.youtube.com/watch?v=6KQJQhqHgz4
They are already using a Ship DNA string with other calls. It would probably be more appropriate to use that there as well.
Using XML in JavaScript is pain and slow. If you get XML string from this function only way to do something useful with that string is to make AJAX call and process XML with server side language (PHP, Ruby, Perl, Java,...). Even in that case all of those languages have JSON support. http://json.org/xml.html
Please see Ship DNA. Has nothing to do with xml. As I indicated before. Ship DNA is whats is used already by the ShowFitting call already in place.
edit:
what would be of good use is too start putting together a javascript utility library probably. an object to convert Ship DNA strings to a ShipFitting object and back would be neat. However, I don't know how useful such a utility would be unless it had the db to call on to determine if typeid's are high/mid/low/rig etc modules or charges/drones. ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.08 23:00:00 -
[14]
Originally by: krickettt Is there going to be an export or import option for bookmarks? I was sick of losing all my bookmarks with the old browser whenever cache was cleared or I needed to do a re-install.
I believe bookmarks are now stored on the servers and only the "folders" are stored client side. However, that aside, I doubt they will open up book marks in that manner as the capability to use/abuse them would be dramatically increased. Imagine importing a bookmark for a safespot that is 300au above the plane. I highly doubt they will support such a feature.
But.... you can ask. I would suggest you put that request in the features and suggestions area. ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.09 23:09:00 -
[15]
Wish we could get faster approval on the changes in the wiki. Feels like we are waiting for each others changes to be approved a lot. ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.14 13:01:00 -
[16]
Originally by: Miss Moonwych Not sure it has been mentioned yet.
What would be helpful is the ability to drag and drop characters (e.g. from local, like you can into ingame chat now) into input (text) fields on a webpage/form. Those can then be posted (e.g. through ajax) to a server managed by a group of players gathering intel.
Regards,
M.M.
Already requested within the Javascript Wish List page on the wiki. Anything that is drag and linkable in the client should be drag and droppable into the IGB. ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.14 13:14:00 -
[17]
Originally by: Catari Taga We have CCPEVE.ShowContract(), but could we please get a CCPEVE.FindContracts() method to complement CCPEVE.ShowMarketDetails()?
Suggested syntax:
CCPEVE.FindContracts(typeID[,regionID][,systemID][,stationID])
Of course the last two can only be set to current system/station in game atm so either limit it to that or amend the ingame window accordingly (and add a Show Contracts right click menu option while you're at it).
Added to Wish List page ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.15 23:56:00 -
[18]
Twist, remember that with any action that causes a possible exploitable issue there has to be some kind of confirmation.
For example in JoinFleet, there would have to be some kind of user confirmation in the client (not igb) before actually joining fleet. This would be to prevent the website from immediately forcing people who navigate to it from being automaticaly forced to join the fleet if they are not already part of one.
The same kind of thing would have to be considered for AddToWatchlist and LeaveFleet. The availabilty for abuse by the website needs to be removed. ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.23 16:12:00 -
[19]
Originally by: Lumy Good stuff about JSON
I agree, JSON would be a much better method of interfacing for 3rd party devs, however, I think for the devs it creates more problems than it solves for 3rd party devs.
The JSON object that is passed in still needs to be converted to something internally understandable and acted upon and the types of information that is being passed back and forth seem to be simple data types like strings, numbers and booleans. JSON is a non simple type, it is an object. So that object needs to be simplified, parsed and acted upon. From a CCP perspective there is no benefit in a JSON format over a DNA string format because both require parsing and the JSON requires MORE parsing logic than the DNA string.
However your right, JSON is a much more friendly format for the javascript world and it would be wonderful if CCP would support JSON interaction between the client and IGB. ------------------------------------------------- Search: Sky Grunthor |
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.23 19:48:00 -
[20]
Originally by: Sasha J
Main point of JS IGB methods (DB dumps and API's) is to make writing 3th party software easy. CCP did great job so far, dumps are OK (but LP-store items are missing), API's are great (REST-alike, not SOAP, but personal/corp contract API's are really needed). IGB is great change so far.
JSON is not Object! It's object notation. Google it. It's made for JS but now it's supported by all modern languages for web development. You can see it as string. I don't think that using JSON is a lot more work for CCP, makes no sense. Only reason that ShipDNA is implemented is that you made page on evelopedia and they took it as granted.
Benefit from JSON is not only on JS side. It's a string that can be send to a webpage using AJAX and server side can easily make own objects from JSON data. I made workins ruby on rails demonstration few 'forum pages' ago. It's great if you do object-oriented stuff.
JSON is standard. Both google and yahoo offer JSON as feeds or webservices.
Other thing is inter-compatibility. JSON can be transferred between applications no mater what programming language is used.
JSON is subset of YAML. It's human-readable data seralisation and if CCP implents it for fittings and also adds ship/module/drone name, it can be used for forum post with fittings like posts on SHC (think of EFT format).
dude, take a chill pill.
1) I did not make it up. I LEARNED about the Ship DNA string format about 10 months ago from MrCue over at BattleClinic. It is not something I chose for CCP or anything, It is something I recognized that they did.
2) yes JSON is object notation, I am a professional web developer and use JSON quite often within my web apps. Sorry for the adding that bit of confusion.
3) JSON is a more sophisticated string representation, and as such it IS harder to parse accurately. However I will grant that it is not "a lot more work" ... no I take that back.
4) When used in the way that is proposed, it is no longer just object notation, it is now an object that is being passed.
JSON is used to create an object in javascript, it is NOT used to create one in python to my knowledge and wouldn't be safe to do so even if I'm wrong and it is supported natively somehow. So far all examples given by JSON proponents have showed the creation of an object. Given that it is passed into the client as an OBJECT what happens when there is a notation difference or addition. What happens when "hi" is hi in one object and HighSlot in another. Or what happens when there are methods and other information attached to that object or declared in the JSON that created that object. How does CCP control the input in such a way that it minimizes the possibility for error or hacking?
The Ship DNA string is simple, hard to make exploitable or find hacks with and small in size. It is also easy to construct from an object as well and doesn't require the web app or anything to have knowledge of hi, lows, meds etc. Furthermore it is easy to retrieve or share via url strings which in my opinion is a great enabler for actually doing things between web applications.
On top of that, it is already used within the EVE community prior to CCP making use of it. Again I did not come up with it, or devise it, I merely recognized the structure and put a wiki page up to describe it. I may even have the information on that page wrong because I did not create the format or define it.
/rant
oh, Main point of the DB dumps and IGB methods and such is not to make web dev easy for us, its to make it possible for us. Its an enabler. ------------------------------------------------- Search: Sky Grunthor |
|
Sky Grunthor
Minmatar Conflagration. Wildly Inappropriate.
|
Posted - 2009.10.23 20:03:00 -
[21]
Originally by: Sky Grunthor dude, take a chill pill.
I should probably listen to my own advice. ------------------------------------------------- Search: Sky Grunthor |
|
|
|